package ke24.ga.extension;

import ke24.ga.Package;

public class VariousSizePackage extends Package{

    public VariousSizePackage(int id, double weight) {
        super(id, weight);
    }

    /*
     * return true if the package is a big package and false otherwise
     */
    public static boolean isBig(int packageID) {
        return packageID <= 16;
    }
    
    /*
     * returns true if the package is a small package and false otherwise
     */
    public static boolean isSmall(int packageID) {
        return !isBig(packageID);
    }
}
